﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace _395_2d
{
    public class GameOverMessage : Message
    {
        public enum Outcome {VICTORY, LOSS};
        private int i;

        public GameOverMessage(Outcome o)
        {
            i = (int)o;
        }

        public bool isWin()
        {
            return i == (int)Outcome.VICTORY;
        }
    }
}
